<!DOCTYPE html>
<title>&lt;details> marker repaints on 'color' change</title>
<script src="../resources/text-based-repaint.js"></script>
<style>
details {
  color: red;
}
.green {
  color: green;
}
</style>
<details>Triangle should be green</details>
<script>
function repaintTest() {
  document.querySelector('details').className = 'green';
}
onload = runRepaintAndPixelTest;
</script>
